package com.neumall.modules.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.neumall.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 
 *
 * @author yinin yinin6@gmail.com
 * @since 1.0.0 2022-06-15
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("rental")
public class RentalEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;

    /**
     * 租用主键
     */
	private Integer rentalId;
    /**
     * 租用设备
     */
	private Integer equipmentId;
    /**
     * 租用工厂
     */
	private Integer factoryId;
    /**
     * 租用开始时间
     */
	private String rBeginTime;
    /**
     * 租用时长，天为单位
     */
	private Integer duration;
    /**
     * 
     */
	private Date createTime;
    /**
     * 
     */
	private Date updateTime;
}